package cn.cloudreal.cbms.statements.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

import cn.cloudreal.cbms.castDetail.service.impl.CastDetailServiceImpl;
import cn.cloudreal.cbms.statements.dao.MediaCountDao;
import cn.cloudreal.cbms.statements.service.MediaCountService;
import cn.cloudreal.cbms.vo.MediaCount;

/**
 * 
 * Description:媒体数统计Service层接口实现类
 * 
 * Company:云恒瑞通
 * 
 * @author HuangCanCan
 * @date 2012-08-15
 */
public class MediaCountServiceImpl implements MediaCountService{
    /** 日志工具类实例 */
    private static final Logger log = Logger.getLogger(CastDetailServiceImpl.class);
    /** 定义dao对象用于提取方法  */
	private MediaCountDao mediaCountDao;
	
	public MediaCountDao getMediaCountDao() {
		return mediaCountDao;
	}
	public void setMediaCountDao(MediaCountDao mediaCountDao) {
		this.mediaCountDao = mediaCountDao;
	}
	/**
	 * 获取媒体数统计list
	 * 
	 */
	public List<MediaCount> getMediaList(Map condition) {
		return mediaCountDao.getMediaList(condition);
	}
	

}
